<template>
  <div class="common-layout">
    <el-container style="height: 100vh;">
      <AsideMenu></AsideMenu>
      <el-container direction="vertical">
          <TopHeader></TopHeader>
        <el-main>
          <el-scrollbar>
            <!-- 二级路由出口 -->
            <router-view></router-view>
          </el-scrollbar>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup>
import AsideMenu from '@/components/mainbox/AsidMenu.vue'
import TopHeader from '@/components/mainbox/TopHeader.vue'
</script>
